.PHONY:all
all:serverCal clientCal

Flag=#-DMySelf=1
Lib=-ljsoncpp

serverCal:ServerCal.cc
	g++ -o $@ $^ -std=c++11 $(Lib) $(Flag)
clientCal:ClientCal.cc
	g++ -o $@ $^ -std=c++11 $(Lib) $(Flag)

.PHONY:clean 
clean:
	rm -rf serverCal clientCal